import request from '@/utils/request'

// 查询会议室信息列表
export function listMtRoom(query) {
  return request({
    url: '/room/mtRoom/list',
    method: 'get',
    params: query
  })
}

// 查询会议室信息详细
export function getMtRoom(id) {
  return request({
    url: '/room/mtRoom/' + id,
    method: 'get'
  })
}

// 保存会议室信息
export function saveMtRoom(data) {
  return request({
    url: '/room/mtRoom/save',
    method: 'post',
    data: data
  })
}

// 删除会议室信息
export function delMtRoom(id) {
  return request({
    url: '/room/mtRoom/' + id,
    method: 'delete'
  })
}

// 导出会议室信息
export function exportMtRoom(query) {
  return request({
    url: '/room/mtRoom/export',
    method: 'get',
    params: query
  })
}
